#include "rpgpch.h"
#include "Log.h"

namespace Rpg {
	 std::shared_ptr<spdlog::logger> Log::s_CoreLogger;
	 std::shared_ptr<spdlog::logger> Log::s_ClientLogger;



	 void Log::Init() {
		spdlog::set_pattern("%^[%T] %n: %v%$");

		 s_CoreLogger = spdlog::stdout_color_mt("Engine");
		 s_CoreLogger->set_level(spdlog::level::trace);

		 s_ClientLogger = spdlog::stdout_color_mt("Application");
		 s_ClientLogger->set_level(spdlog::level::trace);

	}
}